//
//  ComperesListTableViewCell.m
//  RainbowFM
//
//  Created by Kratos on 14/12/11.
//  Copyright (c) 2014年 RB. All rights reserved.
//

#import "ComperesListTableViewCell.h"
#import "UIImageView+Circle.h"

@implementation ComperesListTableViewCell

- (void)awakeFromNib {
    [_headImageView showAsCircle];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

-(void)updateContents:(CompereItem *)item
{
    if (item) {
        [_headImageView sd_setImageWithURL:[NSURL URLWithString:item.anchorHeadPic] placeholderImage:nil];
        [_nameLabel setText:item.anchorName];
        [_introdycedLabel setText:item.content];
    }
}


@end
